﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace aoprinter.Model
{
    [Serializable]
    public class ModCell : ModBlock
    {
        public ModCell()
        {
            Blocks = new List<ModBlock>();
            HorizontalAlign = EnmHorizontalAlign.Left;
            VerticalAlign = EnmVerticalAlign.Top;
        }

        public List<ModBlock> Blocks
        {
            set;
            get;
        }

        private int _rowSpan = 1;
        public int RowSpan
        {
            get { return _rowSpan; }
            set { _rowSpan = value; }
        }

        private int _columnSpan = 1;
        public int ColumnSpan
        {
            get { return _columnSpan; }
            set { _columnSpan = value; }
        }
        
        public EnmHorizontalAlign HorizontalAlign
        {
            set;
            get;
        }

        public EnmVerticalAlign VerticalAlign
        {
            set;
            get;
        }
    }
}